package com.ss.android.article.browser.database.bookmark;

import android.support.annotation.NonNull;
import com.a.a.NightMode;
import com.ss.android.article.browser.database.BrowserHistory;

final class c implements NightMode {
    private final a c;
    private final BrowserHistory a;
    private final BrowserHistory b;

    c(a arg1, BrowserHistory arg2, BrowserHistory arg3) {
        this.c = arg1;
        this.a = arg2;
        this.b = arg3;

    }

    public final void f(@NonNull Object arg4) {
        if(this.a.title.isEmpty()) {
            this.a.setTitle(com.ss.android.article.browser.database.bookmark.a.b(this.c));
        }

        com.ss.android.article.browser.database.bookmark.a.a(this.c, this.b.url, com.ss.android.article.browser.database.bookmark.a.b(this.a));
        ((com.a.a.c)arg4).onComplete();
    }
}

